﻿#region Imports
using System.Windows;
using System.Windows.Input;
using SeriesEpisodeMapper.ViewModels;
#endregion Imports

namespace SeriesEpisodeMapper.Views
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            cutilTitleBar.ParentWindow = this;

            itmctrlMapper.Items.Clear();
            cmbSeriesSelector.Items.Clear();

            var vm = new MainViewModel();
            this.DataContext = vm;
        }

        private void CUtil_TitleBar_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.DragMove();
        }
    }
}
